From 3d568cdd6be0e0c8dce3dfd5d64f32bbbf6647a3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 8 Apr 2007 23:59:19 +0000 Subject: [PATCH] (Fmove_to_column): Set next_boundary with correct start pt. --- src/indent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/indent.c b/src/indent.c index 828267c3abf..b43120ab560 100644 --- a/src/indent.c +++ b/src/indent.c @@ -951,7 +951,6 @@ The return value is the current column. */) pos = PT; pos_byte = PT_BYTE; end = ZV; - next_boundary = pos; /* If we're starting past the desired column, back up to beginning of line and scan from there. */ @@ -963,6 +962,8 @@ The return value is the current column. */) col = 0; } + next_boundary = pos; + while (pos < end) { while (pos == next_boundary) -- 2.30.2